-- Network Working Group B. Stewart
-- Request for Comments: 1659 Xyplex, Inc.
-- Obsoletes: 1317 July 1994
-- Category: Standards Track
--
--
-- Definitions of Managed Objects for RS-232-like Hardware Devices
-- using SMIv2
--RS-232-MIB DEFINITIONS::=BEGINIMPORTSMODULE-IDENTITY,OBJECT-TYPE,NOTIFICATION-TYPE,
Counter32,Integer32FROM SNMPv2-SMI
InterfaceIndexFROM IF-MIB
transmission
FROM RFC1213-MIB
MODULE-COMPLIANCE,OBJECT-GROUPFROM SNMPv2-CONF;rs232 MODULE-IDENTITYLAST-UPDATED"9405261700Z"ORGANIZATION"IETF Character MIB Working Group"CONTACT-INFO" Bob Stewart
Postal: Xyplex, Inc.
295 Foster Street
Littleton, MA 01460
Tel: 508-952-4816
Fax: 508-952-4887
E-mail: rlstewart@eng.xyplex.com"DESCRIPTION"The MIB module for RS-232-like hardware devices."::={ transmission 33}-- Generic RS-232-like information
rs232Number OBJECT-TYPESYNTAXInteger32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The number of ports (regardless of their current
state) in the RS-232-like general port table."::={ rs232 1}-- RS-232-like General Port Tablers232PortTable OBJECT-TYPESYNTAXSEQUENCEOF Rs232PortEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A list of port entries. The number of entries is
given by the value of rs232Number."::={ rs232 2}rs232PortEntry OBJECT-TYPESYNTAX Rs232PortEntry
MAX-ACCESSnot-accessible
STATUScurrentDESCRIPTION"Status and parameter values for a port."INDEX{ rs232PortIndex }::={ rs232PortTable 1}
Rs232PortEntry ::=SEQUENCE{
rs232PortIndex
InterfaceIndex,
rs232PortType
INTEGER,
rs232PortInSigNumber
Integer32,
rs232PortOutSigNumber
Integer32,
rs232PortInSpeed
Integer32,
rs232PortOutSpeed
Integer32,
rs232PortInFlowType
INTEGER,
rs232PortOutFlowType
INTEGER}rs232PortIndex OBJECT-TYPESYNTAXInterfaceIndexMAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The value of ifIndex for the port. By convention
and if possible, hardware port numbers map directly
to external connectors. The value for each port must
remain constant at least from one re-initialization
of the network management agent to the next."::={ rs232PortEntry 1}rs232PortType OBJECT-TYPESYNTAXINTEGER{ other(1), rs232(2), rs422(3),rs423(4), v35(5), x21(6)}
MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The port's hardware type."::={ rs232PortEntry 2}rs232PortInSigNumber OBJECT-TYPESYNTAXInteger32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The number of input signals for the port in the
input signal table (rs232PortInSigTable). The table
contains entries only for those signals the software
can detect and that are useful to observe."::={ rs232PortEntry 3}rs232PortOutSigNumber OBJECT-TYPESYNTAXInteger32MAX-ACCESSread-onlySTATUScurrent
DESCRIPTION"The number of output signals for the port in the
output signal table (rs232PortOutSigTable). The
table contains entries only for those signals the
software can assert and that are useful to observe."::={ rs232PortEntry 4}rs232PortInSpeed OBJECT-TYPESYNTAXInteger32MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The port's input speed in bits per second. Note that
non-standard values, such as 9612, are probably not allowed
on most implementations."::={ rs232PortEntry 5}rs232PortOutSpeed OBJECT-TYPESYNTAXInteger32MAX-ACCESSread-writeSTATUScurrentDESCRIPTION
"The port's output speed in bits per second. Note that
non-standard values, such as 9612, are probably not allowed
on most implementations."::={ rs232PortEntry 6}rs232PortInFlowType OBJECT-TYPESYNTAXINTEGER{ none(1), ctsRts(2), dsrDtr(3)}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The port's type of input flow control. 'none'
indicates no flow control at this level.
'ctsRts' and 'dsrDtr' indicate use of the indicated
hardware signals."::={ rs232PortEntry 7}rs232PortOutFlowType OBJECT-TYPESYNTAXINTEGER{ none(1), ctsRts(2), dsrDtr(3)}
MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The port's type of output flow control. 'none'
indicates no flow control at this level.
'ctsRts' and 'dsrDtr' indicate use of the indicated
hardware signals."::={ rs232PortEntry 8}-- RS-232-like Asynchronous Port Tablers232AsyncPortTable OBJECT-TYPESYNTAXSEQUENCEOF Rs232AsyncPortEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A list of asynchronous port entries. Entries need
not exist for synchronous ports."::={ rs232 3}rs232AsyncPortEntry OBJECT-TYPESYNTAX Rs232AsyncPortEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"Status and parameter values for an asynchronous
port."INDEX{ rs232AsyncPortIndex }::={ rs232AsyncPortTable 1}
Rs232AsyncPortEntry ::=SEQUENCE{
rs232AsyncPortIndex
InterfaceIndex,
rs232AsyncPortBits
INTEGER,
rs232AsyncPortStopBits
INTEGER,
rs232AsyncPortParity
INTEGER,
rs232AsyncPortAutobaud
INTEGER,
rs232AsyncPortParityErrs
Counter32,
rs232AsyncPortFramingErrs
Counter32,
rs232AsyncPortOverrunErrs
Counter32}rs232AsyncPortIndex OBJECT-TYPESYNTAXInterfaceIndexMAX-ACCESSread-onlySTATUScurrentDESCRIPTION"A unique value for each port. Its value is the
same as rs232PortIndex for the port."::={ rs232AsyncPortEntry 1}rs232AsyncPortBits OBJECT-TYPESYNTAXINTEGER(5..8)MAX-ACCESSread-writeSTATUScurrentDESCRIPTION
"The port's number of bits in a character."::={ rs232AsyncPortEntry 2}rs232AsyncPortStopBits OBJECT-TYPESYNTAXINTEGER{ one(1), two(2),oneAndHalf(3), dynamic(4)}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The port's number of stop bits."::={ rs232AsyncPortEntry 3}rs232AsyncPortParity OBJECT-TYPESYNTAXINTEGER{ none(1), odd(2), even(3),
mark(4), space(5)}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The port's sense of a character parity bit."::={ rs232AsyncPortEntry 4}rs232AsyncPortAutobaud OBJECT-TYPESYNTAXINTEGER{ enabled(1), disabled(2)}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"A control for the port's ability to automatically
sense input speed.
When rs232PortAutoBaud is 'enabled', a port may
autobaud to values different from the set values for
speed, parity, and character size. As a result a
network management system may temporarily observe
values different from what was previously set."::={ rs232AsyncPortEntry 5}rs232AsyncPortParityErrs OBJECT-TYPESYNTAXCounter32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"Total number of characters with a parity error,
input from the port since system re-initialization
and while the port state was 'up' or 'test'."::={ rs232AsyncPortEntry 6}rs232AsyncPortFramingErrs OBJECT-TYPESYNTAXCounter32MAX-ACCESSread-onlySTATUScurrent
DESCRIPTION"Total number of characters with a framing error,
input from the port since system re-initialization
and while the port state was 'up' or 'test'."::={ rs232AsyncPortEntry 7}rs232AsyncPortOverrunErrs OBJECT-TYPESYNTAXCounter32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"Total number of characters with an overrun error,
input from the port since system re-initialization
and while the port state was 'up' or 'test'."::={ rs232AsyncPortEntry 8}-- RS-232-like Synchronous Port Tablers232SyncPortTable OBJECT-TYPESYNTAXSEQUENCEOF Rs232SyncPortEntry
MAX-ACCESSnot-accessible
STATUScurrentDESCRIPTION"A list of asynchronous port entries. Entries need
not exist for synchronous ports."::={ rs232 4}rs232SyncPortEntry OBJECT-TYPESYNTAX Rs232SyncPortEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"Status and parameter values for a synchronous
port."INDEX{ rs232SyncPortIndex }::={ rs232SyncPortTable 1}
Rs232SyncPortEntry ::=SEQUENCE{
rs232SyncPortIndex
InterfaceIndex,
rs232SyncPortClockSource
INTEGER,
rs232SyncPortFrameCheckErrs
Counter32,
rs232SyncPortTransmitUnderrunErrs
Counter32,
rs232SyncPortReceiveOverrunErrs
Counter32,
rs232SyncPortInterruptedFrames
Counter32,
rs232SyncPortAbortedFrames
Counter32,
rs232SyncPortRole
INTEGER,
rs232SyncPortEncoding
INTEGER,
rs232SyncPortRTSControl
INTEGER,
rs232SyncPortRTSCTSDelay
Integer32,
rs232SyncPortMode
INTEGER,
rs232SyncPortIdlePattern
INTEGER,
rs232SyncPortMinFlags
Integer32}rs232SyncPortIndex OBJECT-TYPESYNTAXInterfaceIndex
MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"A unique value for each port. Its value is the
same as rs232PortIndex for the port."::={ rs232SyncPortEntry 1}rs232SyncPortClockSource OBJECT-TYPESYNTAXINTEGER{ internal(1), external(2), split(3)}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"Source of the port's bit rate clock. 'split' means
the tranmit clock is internal and the receive clock
is external."::={ rs232SyncPortEntry 2}rs232SyncPortFrameCheckErrs OBJECT-TYPE
SYNTAXCounter32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"Total number of frames with an invalid frame check
sequence, input from the port since system
re-initialization and while the port state was 'up'
or 'test'."::={ rs232SyncPortEntry 3}rs232SyncPortTransmitUnderrunErrs OBJECT-TYPESYNTAXCounter32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"Total number of frames that failed to be
transmitted on the port since system
re-initialization and while the port state was 'up'
or 'test' because data was not available to the
transmitter in time."::={ rs232SyncPortEntry 4}
rs232SyncPortReceiveOverrunErrs OBJECT-TYPESYNTAXCounter32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"Total number of frames that failed to be received
on the port since system re-initialization and while
the port state was 'up' or 'test' because the
receiver did not accept the data in time."::={ rs232SyncPortEntry 5}rs232SyncPortInterruptedFrames OBJECT-TYPESYNTAXCounter32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"Total number of frames that failed to be received
or transmitted on the port due to loss of modem
signals since system re-initialization and while the
port state was 'up' or 'test'."::={ rs232SyncPortEntry 6}
rs232SyncPortAbortedFrames OBJECT-TYPESYNTAXCounter32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"Number of frames aborted on the port due to
receiving an abort sequence since system
re-initialization and while the port state was 'up'
or 'test'."::={ rs232SyncPortEntry 7}rs232SyncPortRole OBJECT-TYPESYNTAXINTEGER{ dte(1), dce(2)}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The role the device is playing that is using this port.
dte means the device is performing the role of
data terminal equipment
dce means the device is performing the role of
data circuit-terminating equipment."DEFVAL{ dce }::={ rs232SyncPortEntry 8}rs232SyncPortEncoding OBJECT-TYPESYNTAXINTEGER{ nrz(1), nrzi(2)}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The bit stream encoding technique that is in effect
for this port.
nrz for Non-Return to Zero encoding
nrzi for Non-Return to Zero Inverted encoding."DEFVAL{ nrz }::={ rs232SyncPortEntry 9}
rs232SyncPortRTSControl OBJECT-TYPESYNTAXINTEGER{ controlled(1), constant(2)}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The method used to control the Request To Send (RTS)
signal.
controlled when the DTE is asserts RTS each time
data needs to be transmitted and drops
RTS at some point after data
transmission begins.
If rs232SyncPortRole is 'dte', the
RTS is an output signal. The device
will issue a RTS and wait for a CTS
from the DCE before starting to
transmit.
If rs232SyncPortRole is 'dce', the
RTS is an input signal. The device
will issue a CTS only after having
received RTS and waiting the
rs232SyncPortRTSCTSDelay interval.
constant when the DTE constantly asserts RTS."DEFVAL{ constant }::={ rs232SyncPortEntry 10}rs232SyncPortRTSCTSDelay OBJECT-TYPESYNTAXInteger32MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The interval (in milliseconds) that the DCE must wait
after it sees RTS asserted before asserting CTS. This
object exists in support of older synchronous devices
that cannot recognize CTS within a certain interval
after it asserts RTS."DEFVAL{0}::={ rs232SyncPortEntry 11}rs232SyncPortMode OBJECT-TYPESYNTAXINTEGER{ fdx(1), hdx(2), simplex-receive(3),
simplex-send(4)}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The mode of operation of the port with respect to the
direction and simultaneity of data transfer.
fdx when frames on the data link can be
transmitted and received at the same
time
hdx when frames can either be received
from the data link or transmitted
onto the data link but not at the
same time.
simplex-receive when frames can only be received on
this data link.
simplex-send when frames can only be sent on this
data link."
DEFVAL{ fdx }::={ rs232SyncPortEntry 12}rs232SyncPortIdlePattern OBJECT-TYPESYNTAXINTEGER{ mark(1), space(2)}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The bit pattern used to indicate an idle line."DEFVAL{ space }::={ rs232SyncPortEntry 13}rs232SyncPortMinFlags OBJECT-TYPESYNTAXInteger32MAX-ACCESSread-writeSTATUScurrentDESCRIPTION
"The minimum number of flag patterns this port needs in
order to recognize the end of one frame and the start
of the next. Plausible values are 1 and 2."DEFVAL{2}::={ rs232SyncPortEntry 14}-- Input Signal Tablers232InSigTable OBJECT-TYPESYNTAXSEQUENCEOF Rs232InSigEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A list of port input control signal entries
implemented and visible to the software on the port,
and useful to monitor."::={ rs232 5}rs232InSigEntry OBJECT-TYPESYNTAX Rs232InSigEntry
MAX-ACCESSnot-accessibleSTATUScurrent
DESCRIPTION"Input control signal status for a hardware port."INDEX{ rs232InSigPortIndex, rs232InSigName }::={ rs232InSigTable 1}
Rs232InSigEntry ::=SEQUENCE{
rs232InSigPortIndex
InterfaceIndex,
rs232InSigName
INTEGER,
rs232InSigState
INTEGER,
rs232InSigChanges
Counter32}rs232InSigPortIndex OBJECT-TYPESYNTAXInterfaceIndexMAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The value of rs232PortIndex for the port to which
this entry belongs."::={ rs232InSigEntry 1}rs232InSigName OBJECT-TYPESYNTAXINTEGER{ rts(1), cts(2), dsr(3), dtr(4), ri(5),dcd(6), sq(7), srs(8), srts(9),scts(10), sdcd(11)}MAX-ACCESSread-onlySTATUScurrent
DESCRIPTION"Identification of a hardware signal, as follows:
rts Request to Send
cts Clear to Send
dsr Data Set Ready
dtr Data Terminal Ready
ri Ring Indicator
dcd Received Line Signal Detector
sq Signal Quality Detector
srs Data Signaling Rate Selector
srts Secondary Request to Send
scts Secondary Clear to Send
sdcd Secondary Received Line Signal Detector
"REFERENCE"EIA Standard RS-232-C, August 1969."::={ rs232InSigEntry 2}rs232InSigState OBJECT-TYPESYNTAXINTEGER{ none(1), on(2), off(3)}MAX-ACCESSread-only
STATUScurrentDESCRIPTION"The current signal state."::={ rs232InSigEntry 3}rs232InSigChanges OBJECT-TYPESYNTAXCounter32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The number of times the signal has changed from
'on' to 'off' or from 'off' to 'on'."::={ rs232InSigEntry 4}-- Output Signal Tablers232OutSigTable OBJECT-TYPESYNTAXSEQUENCEOF Rs232OutSigEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A list of port output control signal entries
implemented and visible to the software on the port,
and useful to monitor."::={ rs232 6}rs232OutSigEntry OBJECT-TYPESYNTAX Rs232OutSigEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"Output control signal status for a hardware port."INDEX{ rs232OutSigPortIndex, rs232OutSigName }::={ rs232OutSigTable 1}
Rs232OutSigEntry ::=SEQUENCE{
rs232OutSigPortIndex
InterfaceIndex,
rs232OutSigName
INTEGER,
rs232OutSigState
INTEGER,
rs232OutSigChanges
Counter32
}rs232OutSigPortIndex OBJECT-TYPESYNTAXInterfaceIndexMAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The value of rs232PortIndex for the port to which
this entry belongs."::={ rs232OutSigEntry 1}rs232OutSigName OBJECT-TYPESYNTAXINTEGER{ rts(1), cts(2), dsr(3), dtr(4), ri(5),dcd(6), sq(7), srs(8), srts(9),
scts(10), sdcd(11)}MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"Identification of a hardware signal, as follows:
rts Request to Send
cts Clear to Send
dsr Data Set Ready
dtr Data Terminal Ready
ri Ring Indicator
dcd Received Line Signal Detector
sq Signal Quality Detector
srs Data Signaling Rate Selector
srts Secondary Request to Send
scts Secondary Clear to Send
sdcd Secondary Received Line Signal Detector
"REFERENCE"EIA Standard RS-232-C, August 1969."::={ rs232OutSigEntry 2}rs232OutSigState OBJECT-TYPE
SYNTAXINTEGER{ none(1), on(2), off(3)}MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The current signal state."::={ rs232OutSigEntry 3}rs232OutSigChanges OBJECT-TYPESYNTAXCounter32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The number of times the signal has changed from
'on' to 'off' or from 'off' to 'on'."::={ rs232OutSigEntry 4}-- conformance information
rs232Conformance OBJECTIDENTIFIER::={ rs232 7}rs232Groups OBJECTIDENTIFIER::={ rs232Conformance 1}rs232Compliances OBJECTIDENTIFIER::={ rs232Conformance 2}-- compliance statementsrs232Compliance MODULE-COMPLIANCESTATUScurrentDESCRIPTION"The compliance statement for SNMPv2 entities
which have RS-232-like hardware interfaces."MODULE-- this moduleMANDATORY-GROUPS{ rs232Group }GROUP rs232AsyncGroup
DESCRIPTION"The Asynch group is mandatory only for those
SNMPv2 entities which have asynchronous
interfaces Rs-232-like."GROUP rs232SyncGroup
DESCRIPTION"The Synch group is mandatory only for those
SNMPv2 entities which have synchronous
interfaces Rs-232-like."::={ rs232Compliances 1}-- units of conformancers232Group OBJECT-GROUPOBJECTS{ rs232Number, rs232PortIndex, rs232PortType,
rs232PortInSigNumber, rs232PortOutSigNumber,
rs232PortInSpeed, rs232PortOutSpeed,
rs232PortInFlowType, rs232PortOutFlowType,
rs232InSigPortIndex, rs232InSigName,
rs232InSigState, rs232InSigChanges,
rs232OutSigPortIndex, rs232OutSigName,
rs232OutSigState, rs232OutSigChanges }STATUScurrentDESCRIPTION"A collection of objects providing information
applicable to all RS-232-like interfaces."::={ rs232Groups 1}rs232AsyncGroup OBJECT-GROUPOBJECTS{ rs232AsyncPortIndex, rs232AsyncPortBits,
rs232AsyncPortStopBits, rs232AsyncPortParity,
rs232AsyncPortAutobaud, rs232AsyncPortParityErrs,
rs232AsyncPortFramingErrs, rs232AsyncPortOverrunErrs }STATUScurrentDESCRIPTION"A collection of objects providing information
applicable to asynchronous RS-232-like interfaces."::={ rs232Groups 2}
rs232SyncGroup OBJECT-GROUPOBJECTS{ rs232SyncPortIndex, rs232SyncPortClockSource,
rs232SyncPortFrameCheckErrs,
rs232SyncPortTransmitUnderrunErrs,
rs232SyncPortReceiveOverrunErrs,
rs232SyncPortInterruptedFrames,
rs232SyncPortAbortedFrames }STATUScurrentDESCRIPTION"A collection of objects providing information
applicable to synchronous RS-232-like interfaces."::={ rs232Groups 3}rs232SyncSDLCGroup OBJECT-GROUPOBJECTS{ rs232SyncPortRole,
rs232SyncPortEncoding,
rs232SyncPortRTSControl,
rs232SyncPortRTSCTSDelay,
rs232SyncPortMode,
rs232SyncPortIdlePattern,
rs232SyncPortMinFlags }STATUScurrentDESCRIPTION"A collection of objects providing information
applicable to synchronous RS-232-like interfaces
running SDLC."::={ rs232Groups 4}END